package com.woniuxy.automotivemanagementsystem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.automotivemanagementsystem.entity.Menu;
import com.woniuxy.automotivemanagementsystem.utils.Result;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MenuService extends IService<Menu> {
    List<Menu> queryMenuByUid(Integer uid);

    List<Menu> queryAllofTree();
    /*
    * 根据rid查询当前角色关联菜单
    * */
    List<Menu> queryMenuByRid( Integer rid);

    Result removeMenuByMid(Integer mid);
}
